<template>
  <div class="main">
    <div class="container">
      <div class="container-img">
        <img src="@/assets/images/root.png" alt="" />
      </div>
      <div class="container-text">
        您暂未登录,<router-link to="/">去登陆</router-link>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "data",
  data() {
    return {
      Showbg: false,
    };
  },
  methods: {
    backgroundShow() {
      this.$emit("backgroundShow", this.Showbg);
    },
  },
  created() {
    this.backgroundShow();
  },
};
</script>
<style lang='scss' scoped>
.main {
  height: 100%;
  background-color: #fff;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0;
  color: #242748;
  position: relative;
  font-size: 18px;
  margin: 0 50px 20px 30px;
  text-align: left;
  font-family: "PingFang";
}
.container {
  overflow: hidden;
  .container-img {
    width: 360px;
    height: 259px;
    margin: 150px auto 20px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .container-text {
    // margin-top: ;
    text-align: center;
    font-family: "创艺简粗黑";
    font-size: 40px;
    a {
      color: #80a5fc;
    }
  }
}
</style>